/**
 *
 * Copyright (c) 2014-2016 All Rights Reserved.
 */
package org.tinygroup.eventexecutemonitor.service.impl;

import org.tinygroup.eventexecutemonitor.counter.EventExecuteMonitor;
import org.tinygroup.eventexecutemonitor.pojo.ServiceMonitorItem;
import org.tinygroup.eventexecutemonitor.service.TinyServiceMonitor;
import org.tinygroup.tinysqldsl.Pager;

/**
 * 
 * @author zhangliang08072
 * @version $Id: TinyServiceMonitorImpl.java, v 0.1 2016年12月23日 下午2:01:15 zhangliang08072 Exp $
 */
public class TinyServiceMonitorImpl implements TinyServiceMonitor {

	/** 
	 * @see org.tinygroup.eventexecutemonitor.service.TinyServiceMonitor#queryLocalServiceMonitorItemsByPage(int, int)
	 */
	@Override
	public Pager<ServiceMonitorItem> queryLocalServiceMonitorItemsByPage(int start, int limit) {// TODO Auto-generated method stub
		return EventExecuteMonitor.queryLocalServiceMonitorItemsByPage(start, limit);
	}

	/** 
	 * @see org.tinygroup.eventexecutemonitor.service.TinyServiceMonitor#queryLocalServiceMonitorItemById(java.lang.String)
	 */
	@Override
	public ServiceMonitorItem queryLocalServiceMonitorItemById(String serviceId) {
		return EventExecuteMonitor.queryLocalServiceMonitorItemsById(serviceId);
	}

	/** 
	 * @see org.tinygroup.eventexecutemonitor.service.TinyServiceMonitor#queryRemoteServiceMonitorItemsByPage(int, int)
	 */
	@Override
	public Pager<ServiceMonitorItem> queryRemoteServiceMonitorItemsByPage(int start, int limit) {
		return EventExecuteMonitor.queryRemoteServiceMonitorItemsByPage(start, limit);
	}

	/** 
	 * @see org.tinygroup.eventexecutemonitor.service.TinyServiceMonitor#queryRemoteServiceMonitorItemById(java.lang.String)
	 */
	@Override
	public ServiceMonitorItem queryRemoteServiceMonitorItemById(String serviceId) {
		return EventExecuteMonitor.queryRemoteServiceMonitorItemsById(serviceId);
	}

	

}
